package com.basin.common.core.async.standard;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.concurrent.Future;

/**
 * @author: Sam ZHONG | sammy1997@aliyun.com
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TaskWithResult<TASK> {

    private TASK task;

    private Future<?> future;
}
